package com.example.webbrwoser;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;


public class BootBroadcastReceiver extends BroadcastReceiver {
    private static final String ACTION = "android.intent.action.BOOT_COMPLETED";

    public void onReceive(Context paramContext, Intent paramIntent)
    {
        if (paramIntent.getAction().equals(ACTION))
        {
            Intent localIntent = new Intent(paramContext, MainActivity.class);
            localIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            paramContext.startActivity(localIntent);
        }
    }
}
